Naming Web Sites

Each Web site (virtual server) has a descriptive name and can support one or more host header names. Host header names make it possible to host multiple domain names on one computer. Not all browsers support the use of host header names. Microsoft Internet Explorer 3.0, Netscape Navigator 2.0, and later versions of both browsers support the use of host header names; earlier versions of the two browsers do not.

If a visitor attempts to contact to your site with an older browser that does not support host headers, the visitor is directed to the default Web site assigned to that IP address (if a default site is enabled), which may not necessarily be the site requested. Also, if a request from any browser is received for a site that is currently stopped, the visitor receives the default Web site instead. For this reason, carefully consider what the default Web site displays. Typically, ISPs display their own home page as the default, and not one of their customers’ Web sites. This prevents requests for a stopped site from reaching the wrong site. Additionally, the default site can include a script that supports the use of host header names for older browsers.

To name a Web site
  1. In the Internet Information Services snap-in, select the Web site and open its property sheets.
  2. On the Web Site property sheet, type a descriptive name for the site in the Description box.
To assign a host header name
  1. Ask your system administrator to add the new site name mapping for your static IP address to your name resolution system (typically DNS).
  2. On the Web Site property sheet, click the Advanced button.
  3. On the Advanced Multiple Web Site Configuration property sheet, click the Add button to assign a host header name, IP address, and port for a Web site.
  4. Note   When using SSL, you can assign only one host header name to an IP address because the domain name is specified in the server certificate. However, you can have multiple server certificates, multiple IP addresses, and multiple SSL ports per Web site.


© 1997-1999 Microsoft Corporation. All rights reserved.